package com.manage.platform.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Null;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 组织主要负责人关联表实体类
 */
@Accessors(chain = true)
@Data
public class OrganizeHeadDto implements Serializable {

//    @Schema(description = "组织主要负责人关联ID")
//    private Long id;

    @NotNull
    @Schema(description = "组织ID",hidden = true)
    private Long orgId;

    @NotNull
    @Schema(description = "负责人ID")
    private Long headId;

    @Schema(description = "负责人姓名")
    private String headName;

    @Schema(description = "负责工作范围")
    private String workRange;

    @Null
    @Schema(description = "负责人权限,不传")
    private String power;

}